package com.xcjw.com.Bean;

import java.util.List;

/**
 * @packname com.xcjw.com.Bean
 * @filename CarSearchBean
 * @date on 2018/11/22 19:57
 *****/
public class CarSearchBean {


      /**
       * code : 0
       * message : success
       * content : {"departmentName":"信息部","carTypeList":[{"carType":"别克","id":1},{"carType":"宝马","id":2},{"carType":"五菱宏光","id":3},{"carType":"奥迪","id":4}],"driverList":[{"driverName":"张大","id":1},{"driverName":"李四","id":2},{"driverName":"王五","id":3},{"driverName":"麻子","id":4}]}
       * recordsTotal : null
       */

      private String code;
      private String message;
      private ContentBean content;
      private Object recordsTotal;

      public String getCode() {
            return code;
      }

      public void setCode(String code) {
            this.code = code;
      }

      public String getMessage() {
            return message;
      }

      public void setMessage(String message) {
            this.message = message;
      }

      public ContentBean getContent() {
            return content;
      }

      public void setContent(ContentBean content) {
            this.content = content;
      }

      public Object getRecordsTotal() {
            return recordsTotal;
      }

      public void setRecordsTotal(Object recordsTotal) {
            this.recordsTotal = recordsTotal;
      }

      public static class ContentBean {
            /**
             * departmentName : 信息部
             * carTypeList : [{"carType":"别克","id":1},{"carType":"宝马","id":2},{"carType":"五菱宏光","id":3},{"carType":"奥迪","id":4}]
             * driverList : [{"driverName":"张大","id":1},{"driverName":"李四","id":2},{"driverName":"王五","id":3},{"driverName":"麻子","id":4}]
             */

            private String departmentName;
            private List<CarTypeListBean> carTypeList;
            private List<DriverListBean> driverList;

            public String getDepartmentName() {
                  return departmentName;
            }

            public void setDepartmentName(String departmentName) {
                  this.departmentName = departmentName;
            }

            public List<CarTypeListBean> getCarTypeList() {
                  return carTypeList;
            }

            public void setCarTypeList(List<CarTypeListBean> carTypeList) {
                  this.carTypeList = carTypeList;
            }

            public List<DriverListBean> getDriverList() {
                  return driverList;
            }

            public void setDriverList(List<DriverListBean> driverList) {
                  this.driverList = driverList;
            }

            public static class CarTypeListBean {
                  /**
                   * carType : 别克
                   * id : 1
                   */

                  private String carType;
                  private int id;

                  public String getCarType() {
                        return carType;
                  }

                  public void setCarType(String carType) {
                        this.carType = carType;
                  }

                  public int getId() {
                        return id;
                  }

                  public void setId(int id) {
                        this.id = id;
                  }
            }

            public static class DriverListBean {
                  /**
                   * driverName : 张大
                   * id : 1
                   */

                  private String driverName;
                  private int id;

                  public String getDriverName() {
                        return driverName;
                  }

                  public void setDriverName(String driverName) {
                        this.driverName = driverName;
                  }

                  public int getId() {
                        return id;
                  }

                  public void setId(int id) {
                        this.id = id;
                  }
            }
      }
}